﻿/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 * 
 * 
 * File Name: fckplugin.js
 * 	Plugin to insert "Postvideos" in the editor.
 * 
 * File Authors:
 * 		buti_oxa
 */

// Register the related command.
FCKCommands.RegisterCommand( 'postvideo', new FCKDialogCommand( 'postvideo', 
			'Insert video', FCKPlugins.Items['postvideo'].Path + 'fck_postvideo.html', 370, 240 ) ) ;

// Create toolbar button.
var oPostvideoItem = new FCKToolbarButton( 'postvideo', 'Post video' ) ;
oPostvideoItem.IconPath = FCKPlugins.Items['postvideo'].Path + 'postvideo.gif' ;
FCKToolbarItems.RegisterItem( 'postvideo', oPostvideoItem ) ;

